@import "~@/styles/var.less";
@import "~@/styles/mixin.less";



.showMessage-container{
    padding: 5px 10px;
    .self-center(absolute);
    z-index: 999;
    opacity: 0;
    transition: 1.5s;
    transform: translate(-50%,-50%) translateY(25px);
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: white; 
    white-space: nowrap;
    line-height: 2;
    &-info{
        background-color: @primary;
    }
    &-error{
        background-color: @danger;
    }
    &-success{
        background-color: @success;
    }
    &-warn{
        background-color: @warn;
    }
}
.icon{
    font-size:20px;
    margin-right: 5px;
}